home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2249 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.3 KB  |  45 lines

  1. Path: news.univie.ac.at!news-admin@univie.ac.at
  2. From: A6213NBI@PCSERV.UNIVIE.AC.AT (Werner Huber)
  3. Newsgroups: comp.lang.c++
  4. Subject: Printing lines thinner than 1 point (THINK C, Mac)
  5. Date: 16 Jan 1996 17:03:16 GMT
  6. Organization: University of Vienna
  7. Message-ID: <4dglok$1se2@ftp.univie.ac.at>
  8. Reply-To: Werner Huber
  9. NNTP-Posting-Host: pcn15.trm.univie.ac.at
  10. X-Newsreader: WinVN 0.92.6+
  11.  
  12. Hi!
  13.  
  14. I have a problem that I try to resolve for months now. Maybe you can 
  15. help me.
  16.  
  17. I am using a Macintosh with system 7.1 and THINK C 6.0.
  18.  
  19. I have to print lines thinner than 1 point (e.g. hairlines). But the 
  20. QuickDraw-command PenSize allows only integer values, the thinnest 
  21. possible is PenSize(1).
  22.  
  23. So I scaled the document by using PrOpenPage. Now I managed it to get 
  24. thin lines. But my application, which normally needs less then 1MB, 
  25. suddenly needed more then 5MB of memory. Especially when printing on 
  26. a laser-printer with many fonts. Another problem is that this 
  27. solution didn┤t function with each print-manager.
  28.  
  29. So I simulated the lines by using special characters with a 
  30. 2 point-font. But this solution is very, very slow and I can only draw 
  31. vertical and horizontal lines.
  32.  
  33. Can you help me?
  34.  
  35. my adress:
  36.         Werner Huber
  37.         Thaliastr. 132/15
  38.         1160 Wien
  39.         Austria
  40.  
  41. e-mail:
  42.         A6213NBI@PCSERV.UNIVIE.AC.AT
  43.  
  44. Thank you!
  45.